import 'package:flutter_deer/generated/json/user_score_takeout_entity.g.dart';
import 'package:flutter_deer/generated/json/base/json_field.dart';

@JsonSerializable()
class UserScoreTakeoutAddEntity {

  UserScoreTakeoutAddEntity({this.bankId,this.cardNo,this.cardUsername,this.score});

  factory UserScoreTakeoutAddEntity.fromJson(Map<String, dynamic> json) => $UserScoreTakeoutAddEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserScoreTakeoutAddEntityToJson(this);

  String? bankId;
  String? cardNo;
  String? cardUsername;
  double? score;

}

@JsonSerializable()
class BelowUserScoreTakeoutStatisticsEntity {

  BelowUserScoreTakeoutStatisticsEntity();

  factory BelowUserScoreTakeoutStatisticsEntity.fromJson(Map<String, dynamic> json) => $BelowUserScoreTakeoutStatisticsEntityFromJson(json);

  Map<String, dynamic> toJson() => $BelowUserScoreTakeoutStatisticsEntityToJson(this);

  double? totalScore;
  int? totalTimes;

}

@JsonSerializable()
class BelowUserScoreTakeoutEntity {

  BelowUserScoreTakeoutEntity();

  factory BelowUserScoreTakeoutEntity.fromJson(Map<String, dynamic> json) => $BelowUserScoreTakeoutEntityFromJson(json);

  Map<String, dynamic> toJson() => $BelowUserScoreTakeoutEntityToJson(this);

  double? score;
  double? beforeScore;
  String? createTime;
  String? updateTime;
  String? avatar;
  String? accountId;
  String? username;

}

@JsonSerializable()
class BelowUserScoreTakeoutPageEntity {

  BelowUserScoreTakeoutPageEntity();

  factory BelowUserScoreTakeoutPageEntity.fromJson(Map<String, dynamic> json) => $BelowUserScoreTakeoutPageEntityFromJson(json);

  Map<String, dynamic> toJson() => $BelowUserScoreTakeoutPageEntityToJson(this);

  int? total;
  int? size;
  int? current;
  int? pages;
  List<BelowUserScoreTakeoutEntity>? records;
}

@JsonSerializable()
class UserScoreTakeoutEntity {

  UserScoreTakeoutEntity();

  factory UserScoreTakeoutEntity.fromJson(Map<String, dynamic> json) => $UserScoreTakeoutEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserScoreTakeoutEntityToJson(this);

  int? id;
  int? bankId;
  String? bankName;
  String? bankLogo;
  String? bankUserName;
  String? cardNo;
  double? score;
  double? beforeScore;
  String? status;
  String? remark;
  String? createTimeStr;
  String? approvalTimeStr;

}

@JsonSerializable()
class UserScoreTakeoutPageEntity {

  UserScoreTakeoutPageEntity();

  factory UserScoreTakeoutPageEntity.fromJson(Map<String, dynamic> json) => $UserScoreTakeoutPageEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserScoreTakeoutPageEntityToJson(this);

  int? total;
  int? size;
  int? current;
  int? pages;
  List<UserScoreTakeoutEntity>? records;
}
